package org.test;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

@Data
public class WechatMinAppLoginVO  {

    @ApiModelProperty("用户唯一标识")
    private String openid;

    @ApiModelProperty("会话密钥")
    private String session_key;

    @ApiModelProperty("用户在开放平台的唯一标识符，若当前小程序已绑定到微信开放平台帐号下会返回，详见 UnionID 机制说明。")
    private String unionid;

    @ApiModelProperty("获取到的凭证")
    private String access_token;

    @ApiModelProperty("凭证有效时间，单位：秒。目前是7200秒之内的值")
    private int expires_in;

    @ApiModelProperty("接收电话号码")
    private Map<String,Object> phone_info;

    @ApiModelProperty("错误码")
    private int errcode;

    @ApiModelProperty("错误信息")
    private String errmsg;
}
